<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.20"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>JCSDK C# API Reference for Windows: JCSDK.JCMessageChannel.JCMessageChannel类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">JCSDK C# API Reference for Windows
   &#160;<span id="projectnumber">2.3.3.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.20 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespace_j_c_s_d_k.html">JCSDK</a></li><li class="navelem"><a class="el" href="namespace_j_c_s_d_k_1_1_j_c_message_channel.html">JCMessageChannel</a></li><li class="navelem"><a class="el" href="class_j_c_s_d_k_1_1_j_c_message_channel_1_1_j_c_message_channel.html">JCMessageChannel</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pub-static-methods">静态 Public 成员函数</a> &#124;
<a href="#properties">属性</a> &#124;
<a href="class_j_c_s_d_k_1_1_j_c_message_channel_1_1_j_c_message_channel-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">JCSDK.JCMessageChannel.JCMessageChannel类 参考<div class="ingroups"><a class="el" href="group___xE6_xB6_x88_xE6_x81_xAF_xE9_x80_x9A_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html">消息通道模块</a></div></div>  </div>
</div><!--header-->
<div class="contents">
<div class="dynheader">
类 JCSDK.JCMessageChannel.JCMessageChannel 继承关系图:</div>
<div class="dyncontent">
 <div class="center">
  <img src="class_j_c_s_d_k_1_1_j_c_message_channel_1_1_j_c_message_channel.png" usemap="#JCSDK.JCMessageChannel.JCMessageChannel_map" alt=""/>
  <map id="JCSDK.JCMessageChannel.JCMessageChannel_map" name="JCSDK.JCMessageChannel.JCMessageChannel_map">
<area href="interface_j_c_s_d_k_1_1_j_c_client_1_1_j_c_client_callback.html" alt="JCSDK.JCClient.JCClientCallback" shape="rect" coords="0,0,289,24"/>
  </map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:addf136b5228680b6eef3a7a97c07f267"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_j_c_s_d_k_1_1_j_c_message_channel_1_1_j_c_message_channel.html#addf136b5228680b6eef3a7a97c07f267">JCMessageChannel</a> ()</td></tr>
<tr class="separator:addf136b5228680b6eef3a7a97c07f267"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0f70b647d53817bac681563d4f266696"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_j_c_s_d_k_1_1_j_c_message_channel_1_1_j_c_message_channel_item.html">JCMessageChannelItem</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_j_c_s_d_k_1_1_j_c_message_channel_1_1_j_c_message_channel.html#a0f70b647d53817bac681563d4f266696">sendMessage</a> (<a class="el" href="group___xE6_xB6_x88_xE6_x81_xAF_xE9_x80_x9A_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html#ga93273df35bc73cdf0de288a5dbca96d7">JCMessageChannelType</a> type, string keyId, string messageType, string text, Dictionary&lt; string, string &gt; extraParams)</td></tr>
<tr class="separator:a0f70b647d53817bac681563d4f266696"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5b6a8ac2da04e05940b21bb577561c3f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_j_c_s_d_k_1_1_j_c_message_channel_1_1_j_c_message_channel_item.html">JCMessageChannelItem</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_j_c_s_d_k_1_1_j_c_message_channel_1_1_j_c_message_channel.html#a5b6a8ac2da04e05940b21bb577561c3f">sendFile</a> (<a class="el" href="group___xE6_xB6_x88_xE6_x81_xAF_xE9_x80_x9A_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html#ga93273df35bc73cdf0de288a5dbca96d7">JCMessageChannelType</a> type, string keyId, string messageType, string fileUri, string thumbPath, int size, int duration, Dictionary&lt; string, string &gt; extraParams)</td></tr>
<tr class="separator:a5b6a8ac2da04e05940b21bb577561c3f"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
静态 Public 成员函数</h2></td></tr>
<tr class="memitem:a54110362aac59f79a39c88ac1d7b6ac1"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="class_j_c_s_d_k_1_1_j_c_message_channel_1_1_j_c_message_channel.html">JCMessageChannel</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_j_c_s_d_k_1_1_j_c_message_channel_1_1_j_c_message_channel.html#a54110362aac59f79a39c88ac1d7b6ac1">create</a> (<a class="el" href="class_j_c_s_d_k_1_1_j_c_client_1_1_j_c_client.html">JCClient.JCClient</a> client, <a class="el" href="interface_j_c_s_d_k_1_1_j_c_message_channel_1_1_j_c_message_channel_callback.html">JCMessageChannelCallback</a> callback)</td></tr>
<tr class="separator:a54110362aac59f79a39c88ac1d7b6ac1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8896a94170640b8d8fbd7bd40217ee93"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_j_c_s_d_k_1_1_j_c_message_channel_1_1_j_c_message_channel.html#a8896a94170640b8d8fbd7bd40217ee93">destroy</a> ()</td></tr>
<tr class="separator:a8896a94170640b8d8fbd7bd40217ee93"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="properties"></a>
属性</h2></td></tr>
<tr class="memitem:ab877647abfb710df9dc82ef8548881b6"><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_j_c_s_d_k_1_1_j_c_message_channel_1_1_j_c_message_channel.html#ab877647abfb710df9dc82ef8548881b6">thumDir</a><code> [get]</code></td></tr>
<tr class="separator:ab877647abfb710df9dc82ef8548881b6"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>消息通道类，包括一对一消息和群组消息 </p>
</div><h2 class="groupheader">构造及析构函数说明</h2>
<a id="addf136b5228680b6eef3a7a97c07f267"></a>
<h2 class="memtitle"><span class="permalink"><a href="#addf136b5228680b6eef3a7a97c07f267">&#9670;&nbsp;</a></span>JCMessageChannel()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">JCSDK.JCMessageChannel.JCMessageChannel.JCMessageChannel </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p><a class="el" href="class_j_c_s_d_k_1_1_j_c_message_channel_1_1_j_c_message_channel.html">JCMessageChannel</a> 构造函数 </p>

</div>
</div>
<h2 class="groupheader">成员函数说明</h2>
<a id="a54110362aac59f79a39c88ac1d7b6ac1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a54110362aac59f79a39c88ac1d7b6ac1">&#9670;&nbsp;</a></span>create()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="class_j_c_s_d_k_1_1_j_c_message_channel_1_1_j_c_message_channel.html">JCMessageChannel</a> JCSDK.JCMessageChannel.JCMessageChannel.create </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_j_c_s_d_k_1_1_j_c_client_1_1_j_c_client.html">JCClient.JCClient</a>&#160;</td>
          <td class="paramname"><em>client</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="interface_j_c_s_d_k_1_1_j_c_message_channel_1_1_j_c_message_channel_callback.html">JCMessageChannelCallback</a>&#160;</td>
          <td class="paramname"><em>callback</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>创建 <a class="el" href="class_j_c_s_d_k_1_1_j_c_message_channel_1_1_j_c_message_channel.html">JCMessageChannel</a> 对象</p>
<p><a class="el" href="class_j_c_s_d_k_1_1_j_c_message_channel_1_1_j_c_message_channel.html">JCMessageChannel</a> 的所有接口函数，如无特殊说明，都建议在主线程调用</p>
<dl class="section note"><dt>注解</dt><dd><ul>
<li>调用此方法创建 <a class="el" href="class_j_c_s_d_k_1_1_j_c_message_channel_1_1_j_c_message_channel.html">JCMessageChannel</a> 对象后，期间没有调用过 <a class="el" href="class_j_c_s_d_k_1_1_j_c_message_channel_1_1_j_c_message_channel.html#a8896a94170640b8d8fbd7bd40217ee93">destroy</a> 方法销毁对象，然后又重复调用此方法，会直接返回第一次创建的 <a class="el" href="class_j_c_s_d_k_1_1_j_c_message_channel_1_1_j_c_message_channel.html">JCMessageChannel</a> 对象</li>
<li>调用此方法前确保 <a class="el" href="namespace_j_c_s_d_k_1_1_j_c_client.html">JCClient</a> 已完成初始化，即 <a class="el" href="class_j_c_s_d_k_1_1_j_c_client_1_1_j_c_client.html#a8b114554ece8a6e4e03dd8f91812b802">state</a> 状态值不等于 <a class="el" href="group___xE7_x99_xBB_xE5_xBD_x95_xE6_xA8_xA1_xE5_x9D_x97.html#ga2aa0686490aced8d8c24d3318a989af8">NotInit</a></li>
</ul>
</dd></dl>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">client</td><td><a class="el" href="namespace_j_c_s_d_k_1_1_j_c_client.html">JCClient</a> 对象 </td></tr>
    <tr><td class="paramname">callback</td><td><a class="el" href="interface_j_c_s_d_k_1_1_j_c_message_channel_1_1_j_c_message_channel_callback.html">JCMessageChannelCallback</a> 回调接口，用于回调相关通知 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>返回 <a class="el" href="class_j_c_s_d_k_1_1_j_c_message_channel_1_1_j_c_message_channel.html">JCMessageChannel</a> 对象 </dd></dl>
<dl class="exception"><dt>异常</dt><dd>
  <table class="exception">
    <tr><td class="paramname">client、callback 任意一个参数传空就会出现调用异常</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a8896a94170640b8d8fbd7bd40217ee93"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8896a94170640b8d8fbd7bd40217ee93">&#9670;&nbsp;</a></span>destroy()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void JCSDK.JCMessageChannel.JCMessageChannel.destroy </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>销毁 <a class="el" href="class_j_c_s_d_k_1_1_j_c_message_channel_1_1_j_c_message_channel.html">JCMessageChannel</a> 对象</p>
<dl class="section note"><dt>注解</dt><dd>此方法为异步调用，所以在调用此方法后不能马上调用 <a class="el" href="class_j_c_s_d_k_1_1_j_c_message_channel_1_1_j_c_message_channel.html#a54110362aac59f79a39c88ac1d7b6ac1">create</a> 方法去重新创建 <a class="el" href="class_j_c_s_d_k_1_1_j_c_message_channel_1_1_j_c_message_channel.html">JCMessageChannel</a> 对象 </dd></dl>

</div>
</div>
<a id="a5b6a8ac2da04e05940b21bb577561c3f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5b6a8ac2da04e05940b21bb577561c3f">&#9670;&nbsp;</a></span>sendFile()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_j_c_s_d_k_1_1_j_c_message_channel_1_1_j_c_message_channel_item.html">JCMessageChannelItem</a> JCSDK.JCMessageChannel.JCMessageChannel.sendFile </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group___xE6_xB6_x88_xE6_x81_xAF_xE9_x80_x9A_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html#ga93273df35bc73cdf0de288a5dbca96d7">JCMessageChannelType</a>&#160;</td>
          <td class="paramname"><em>type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>keyId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>messageType</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>fileUri</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>thumbPath</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>size</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>duration</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Dictionary&lt; string, string &gt;&#160;</td>
          <td class="paramname"><em>extraParams</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>发送文件消息</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">type</td><td>类型：<ul>
<li><a class="el" href="group___xE6_xB6_x88_xE6_x81_xAF_xE9_x80_x9A_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html#ga93273df35bc73cdf0de288a5dbca96d7">1To1</a> : 一对一消息</li>
<li><a class="el" href="group___xE6_xB6_x88_xE6_x81_xAF_xE9_x80_x9A_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html#ga93273df35bc73cdf0de288a5dbca96d7">Group</a> : 群组消息 </li>
</ul>
</td></tr>
    <tr><td class="paramname">keyId</td><td>对方唯一标识<ul>
<li>当 type 为 <a class="el" href="group___xE6_xB6_x88_xE6_x81_xAF_xE9_x80_x9A_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html#ga93273df35bc73cdf0de288a5dbca96d7">1To1</a> 时为对方的 serverUid</li>
<li>当 type 为 <a class="el" href="group___xE6_xB6_x88_xE6_x81_xAF_xE9_x80_x9A_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html#ga93273df35bc73cdf0de288a5dbca96d7">Group</a> 时为群组的 serverUid </li>
</ul>
</td></tr>
    <tr><td class="paramname">messageType</td><td>文件消息类型，用户可以自定义，例如image，video等 </td></tr>
    <tr><td class="paramname">fileUri</td><td>文件链接地址 </td></tr>
    <tr><td class="paramname">thumbUri</td><td>缩略图文件链接地址 </td></tr>
    <tr><td class="paramname">size</td><td>文件大小(字节) </td></tr>
    <tr><td class="paramname">duration</td><td>文件时长，针对语音，视频等消息 </td></tr>
    <tr><td class="paramname">extraParams</td><td>自定义参数集 </td></tr>
    <tr><td class="paramname">cookie</td><td>标志数据 </td></tr>
    <tr><td class="paramname">atAll</td><td>是否@群体成员，针对群消息 </td></tr>
    <tr><td class="paramname">atUidList</td><td>"@"成员的 serverUid 列表 针对群消息 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd><ul>
<li>成功返回 <a class="el" href="class_j_c_s_d_k_1_1_j_c_message_channel_1_1_j_c_message_channel_item.html">JCMessageChannelItem</a> 对象，并且会收到 <a class="el" href="interface_j_c_s_d_k_1_1_j_c_message_channel_1_1_j_c_message_channel_callback.html#a4d925186f27b0bdfd685b2cbd505fc5a">onMessageSendUpdate</a> 通知</li>
<li>失败返回 null </li>
</ul>
</dd></dl>

</div>
</div>
<a id="a0f70b647d53817bac681563d4f266696"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0f70b647d53817bac681563d4f266696">&#9670;&nbsp;</a></span>sendMessage()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_j_c_s_d_k_1_1_j_c_message_channel_1_1_j_c_message_channel_item.html">JCMessageChannelItem</a> JCSDK.JCMessageChannel.JCMessageChannel.sendMessage </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group___xE6_xB6_x88_xE6_x81_xAF_xE9_x80_x9A_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html#ga93273df35bc73cdf0de288a5dbca96d7">JCMessageChannelType</a>&#160;</td>
          <td class="paramname"><em>type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>keyId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>messageType</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>text</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Dictionary&lt; string, string &gt;&#160;</td>
          <td class="paramname"><em>extraParams</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>发送文本消息</p>
<dl class="section note"><dt>注解</dt><dd>文本内容不要超过10KB</dd></dl>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">type</td><td>类型:<ul>
<li><a class="el" href="group___xE6_xB6_x88_xE6_x81_xAF_xE9_x80_x9A_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html#ga93273df35bc73cdf0de288a5dbca96d7">1To1</a> : 一对一消息</li>
<li><a class="el" href="group___xE6_xB6_x88_xE6_x81_xAF_xE9_x80_x9A_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html#ga93273df35bc73cdf0de288a5dbca96d7">Group</a> : 群组消息 </li>
</ul>
</td></tr>
    <tr><td class="paramname">keyId</td><td>对方唯一标识:<ul>
<li>当 type 为 <a class="el" href="group___xE6_xB6_x88_xE6_x81_xAF_xE9_x80_x9A_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html#ga93273df35bc73cdf0de288a5dbca96d7">1To1</a> 时为对方的 serverUid</li>
<li>当 type 为 <a class="el" href="group___xE6_xB6_x88_xE6_x81_xAF_xE9_x80_x9A_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html#ga93273df35bc73cdf0de288a5dbca96d7">Group</a> 时为群组的 serverUid </li>
</ul>
</td></tr>
    <tr><td class="paramname">messageType</td><td>文本消息类型，用户可以自定义，例如text，xml等 </td></tr>
    <tr><td class="paramname">text</td><td>文本内容 </td></tr>
    <tr><td class="paramname">extraParams</td><td>自定义参数集 </td></tr>
    <tr><td class="paramname">cookie</td><td>标志数据 </td></tr>
    <tr><td class="paramname">atAll</td><td>是否@群体成员，针对群消息 </td></tr>
    <tr><td class="paramname">atUidList</td><td>"@"成员的 serverUid 列表 针对群消息 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd><ul>
<li>成功返回 <a class="el" href="class_j_c_s_d_k_1_1_j_c_message_channel_1_1_j_c_message_channel_item.html">JCMessageChannelItem</a> 对象，并且会收到 <a class="el" href="interface_j_c_s_d_k_1_1_j_c_message_channel_1_1_j_c_message_channel_callback.html#a4d925186f27b0bdfd685b2cbd505fc5a">onMessageSendUpdate</a></li>
<li>失败返回 null </li>
</ul>
</dd></dl>

</div>
</div>
<h2 class="groupheader">属性说明</h2>
<a id="ab877647abfb710df9dc82ef8548881b6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab877647abfb710df9dc82ef8548881b6">&#9670;&nbsp;</a></span>thumDir</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">string JCSDK.JCMessageChannel.JCMessageChannel.thumDir</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>缩率图保存路径</p>
<p>初始化会默认设置，同时用户可以自己设置 </p>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>JCSDK/JCSDK/JCMessageChannel/JCMessageChannel.cs</li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="http://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.8.20
</small></address>
</body>
</html>
